#pragma once

#include <QtGui/QGraphicsScene>

class QtGraphicsStateScene;
class QtAnimGraphicsItem;

class QtGraphicsScene : public QGraphicsScene
{
	Q_OBJECT
public:
	QtGraphicsScene(QObject* parent = 0);
	virtual ~QtGraphicsScene(void);

	QList<QtAnimGraphicsItem*> QtGraphicsScene::loadItemsFromDataStream(QDataStream& dataStream,
		bool bLoadFromFile = false,
		bool bPaste = false);
signals:
	void changeProperties(QWidget* widgets);
	void changeStateScene(QtGraphicsStateScene* scene);
	void playAnim(bool);

public slots:
	void newFile();
	void openFile();
	void saveFile();
	void saveFileAs();
	void createItem();

	void selectionChange();
private:
	QString  mFileName;
};
